package com.bawei.empty


import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.bawei.base.RoutePath
import com.bawei.common.base.BaseActivity
import com.bawei.empty.databinding.ActivityEmptyBinding

@Route(path = RoutePath.PATH_EMPTY_PAGE)
class EmptyActivity : BaseActivity<ActivityEmptyBinding>() {
    override fun getLayoutId(): Int = R.layout.activity_empty

    override fun initViews() {

        mDataBinding.tvToMain.setOnClickListener {
            ARouter.getInstance().build(RoutePath.PATH_MAIN_PAGE).navigation()
            this@EmptyActivity.finish()
        }

    }

}